IModule.ReadSdoBuffer 方法
透過服務資料物件 (SDO) 讀取位元組陣列。
命名空間:IntervalZero.KINGSTAR.Base.Class組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
IKsCommand<byte[]> ReadSdoBuffer(
ushort index,
byte subIndex,
bool completeAccess,
int length = 64
)
Function ReadSdoBuffer(
index As UShort,
subIndex As Byte,
completeAccess As Boolean,
length = 64 As Integer
) As IKsCommand(Of Byte())
參數
index
型別:ushort
欲在物件字典中讀取的物件索引。
subIndex
型別:byte
欲在物件字典中讀取的物件子索引。
completeAccess
型別:bool
true:讀取所有子索引;false:讀取單一子索引。
length
型別:int
預設值:64
從物件字典讀取的物件資料長度。
回傳值
型別:IKsCommand<byte[]>
回傳方法的狀態及一個位元組陣列。
參見